package com.xzl.org.learning_situation_analysis.service;

import com.xzl.org.learning_situation_analysis.entity.Analysis.AggregateAnalysis;
import com.xzl.org.learning_situation_analysis.entity.Analysis.ClazzAnalysis;
import com.xzl.org.learning_situation_analysis.entity.Analysis.TotalScoreAnalysis;

import java.util.List;

/**
 * @author 夏智力
 * @FileName AnalysisService
 * @date 2022/4/15 16:35
 * @Software: IntelliJ IDEA
 */
public interface AnalysisService {

    List<TotalScoreAnalysis> selectByKnowledgePoints(int paperId, int studentId);

    List<TotalScoreAnalysis> selectByQuestionType(int paperId, int studentId);

    List<AggregateAnalysis> selectAggregateByPaperId(int paperId);

    float selectByQuestionIdAndClazzId(int questionId, int clazzId);

    List<ClazzAnalysis> selectClazzByTargetType(String TargetType);

    List<ClazzAnalysis> selectClazzByPaperId(int paperId);

    List<AggregateAnalysis> selectAggregateByPaperIdInGrade(int paperId);

    float selectByQuestionIdAndGradeIdInGrade(int questionId, int GradeId);

    List<ClazzAnalysis> selectClazzByTargetTypeInGrade(String targetType);

    List<ClazzAnalysis> selectClazzByPaperIdInGrade(int paperId);
}
